package com.sduept.nwld.dataserver.model.countanalyse;

import com.sduept.core.entity.IdentifiedObject;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public class AbstractStatisticsModel extends IdentifiedObject {

	private static final long serialVersionUID = 252285403297092221L;
	
	/**
	 * 分子公司（运维单位）
	 */
	@Column(name="sub_company")
	private String subCompany;
	
	private Integer year;
	
	private Integer month;
	
	private Integer voltage;
	
	/**
	 * 0:系统自动统计结果
	 * 1:人工修改数据
	 */
	private int status;

	public String getSubCompany() {
		return subCompany;
	}

	public void setSubCompany(String subCompany) {
		this.subCompany = subCompany;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getVoltage() {
		return voltage;
	}

	public void setVoltage(Integer voltage) {
		this.voltage = voltage;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}